package com.tansun.easycare.rule.ml.algorithm.entity;

import java.util.List;

/**
 * 数据请求获取类
 * @author xch
 * @version 2018-08-24
 */
public class ImgVariables {

	//图片类型
	protected String imgType;
	
	protected List<DataVariable> variables;
	
	//数据获取方式，全部获取（allData），或者分页（paging）,默认全部数据
	protected String method;
	
	//表名
	protected String tableName;
	
	//关联列名
	protected String connectVar;
	
	//起始行，包括端点
	protected int startIndex;
	
	//结束行，不包括端点
	protected int endIndex;
	
	protected int ifClassify;
	
	//分组
	protected int groupNum;
	
	//分组
	protected int spnum;
	
	//k值取值范围
	protected int krange;
	
	//初始化类型
	protected String init;
	
	//异常值操作
	protected boolean outlier;
	
	public ImgVariables() {
	}

	public String getImgType() {
		return imgType;
	}

	public void setImgType(String imgType) {
		this.imgType = imgType;
	}
	
	public int getSpnum() {
		return spnum;
	}

	public void setSpnum(int spnum) {
		this.spnum = spnum;
	}

	public List<DataVariable> getVariables() {
		return variables;
	}

	public void setVariables(List<DataVariable> variables) {
		this.variables = variables;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public int getStartIndex() {
		return startIndex;
	}

	public int getGroupNum() {
		return groupNum;
	}

	public void setGroupNum(int groupNum) {
		this.groupNum = groupNum;
	}

	public void setStartIndex(int startIndex) {
		this.startIndex = startIndex;
	}

	public int getEndIndex() {
		return endIndex;
	}

	public void setEndIndex(int endIndex) {
		this.endIndex = endIndex;
	}

	public boolean isOutlier() {
		return outlier;
	}

	public void setOutlier(boolean outlier) {
		this.outlier = outlier;
	}

	public int getKrange() {
		return krange;
	}

	public void setKrange(int krange) {
		this.krange = krange;
	}

	public String getInit() {
		return init;
	}

	public void setInit(String init) {
		this.init = init;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getConnectVar() {
		return connectVar;
	}

	public void setConnectVar(String connectVar) {
		this.connectVar = connectVar;
	}

	public int getIfClassify() {
		return ifClassify;
	}

	public void setIfClassify(int ifClassify) {
		this.ifClassify = ifClassify;
	}

	@Override
	public String toString() {
		return "ImgVariables [imgType=" + imgType + ", variables=" + variables + ", method=" + method + ", tableName="
				+ tableName + ", connectVar=" + connectVar + ", startIndex=" + startIndex + ", endIndex=" + endIndex
				+ ", ifClassify=" + ifClassify + ", groupNum=" + groupNum + ", spnum=" + spnum + ", krange=" + krange
				+ ", init=" + init + ", outlier=" + outlier + "]";
	}

}
